<!--Amilcar de Leon
adario@antigualug.org
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Manage Authors</title>
    </head>
    <body>
        <h1>Manage Authors</h1>
        <p><a href="?add">Add new Author</a></p>
        <ul>
        <?php foreach ($authors as $author): ?>
            <li>
            <form action="" method="post">
                <div>
                    <?php echo htmlspecialchars($author['name']);?>
                    <input type="hidden" name="id" value="<?php
                    echo $author['id']; ?>"/>
                    <input type="submit" name="action" value="Edit"/>
                    <input type="submit" name="action" value="Delete"/>
                </div>
            </form>
            </li>
            <?php endforeach;?>
        </ul>
        <p><a href="..">Return to JMS Home </a></p>


       
    </body>
</html>
